<template>
  <div>
    <h1>Page 2</h1>
  </div>
  <input v-model="content">
</template>

<script setup>
import { ref, onMounted } from 'vue'
import $curl from '$common/curl'

const content = ref('')
console.log('page2 init');
onMounted(async () => {
  const res = await $curl({
    url: '/api/project/list',
    method: 'GET',
    query: {
    },
  })
})

</script>

<style scoped lang="less">
  h1 {
    color: red;
  }
</style>
